<template>
  
</template>
<script>
import { oneOf } from '../../utils/tool'

export default {
  name: 'input',
  props: {
    name: String,
    type: {
      validator (value) {
        return oneOf(value, ['email', 'url', 'number', 'range', 'search', 'color'])
      },
      default: 'text'
    }
  }
}
</script>
